package com.aaa.docter.dao;

import com.aaa.entity.HisRegistration;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RegistrationDao extends BaseMapper<HisRegistration> {
//退号
     Integer UpdgetTui(String registrationId);
//收费
     Integer UpdgetShoufei(String registrationId);
//作废
     Integer Updgetzuofei(String registrationId);

//待就诊
    List<HisRegistration> selectStatus(String schedulingType);
//就诊中
    List<HisRegistration> selectStatus2(String schedulingType);
//就诊完成
    List<HisRegistration> selectStatus3(String schedulingType);

//    接诊
    Integer jiezhen(String registrationId);
//完成就诊
    Integer Upwcjz(String registrationId);

    Integer getRegNumber(Long deptId);
}
